package com.j2ee.student.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (Student)实体类
 *
 * @author makejava
 * @since 2022-05-26 15:35:39
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student implements Serializable{
private static final long serialVersionUID= -76326446992480539L;
    /**
     * 学号
     */
@TableId(value = "num" , type = IdType.AUTO)
private Integer num;

    /**姓名*/    @TableField(value = "name")            private String name;

    /**性别*/    @TableField(value = "sex")            private String sex;

    /**籍贯*/    @TableField(value = "ethnic")            private String ethnic;

    /**家庭地址*/    @TableField(value = "home")            private String home;

    /**入学年份*/    @TableField(value = "year")            private Date year;

    /**专业*/    @TableField(value = "major")            private String major;

    /**学院*/    @TableField(value = "college")            private String college;

    /**出生年月*/    @TableField(value = "birth")            private Date birth;
}

